﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhysicsSimulator
{
    public class ItemListDataLoadSpring
    {
        public string Name
        {
            get;
            set;
        }
        public string SpringsK
        {
            get;
            set;
        }
        public string SpringsEnviromentRatio
        {
            get;
            set;
        }

        public ItemListDataLoadSpring(SpringData data)
        {
            Name = data.Name;
            SpringsK = "K= " + data.SpringsK.ToString() + "(N/m)";
            SpringsEnviromentRatio = "lực cản= " + data.SpringsEnviromentRatio.ToString();
        }
    }
}
